package handler

import (
	"fmt"
	"net/http"
)

type Welcome struct {
}

func (*Welcome) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	fmt.Fprint(w, "欢迎你好"+r.UserAgent())
}

func NewWelcome() *Welcome {
	return &Welcome{}
}
